namespace ext.form
{
	using System;
	using System.Runtime.CompilerServices;
	using System.Html;
	using System.Collections;
	
	
	/// <summary>
	/// This is a singleton object which contains a set of commonly used field validation functions.
	/// The validations provided are basic and intended to be easily customizable and extended.  To add custom VTypes specify the {@link Ext.form.TextField#vtype vtype} validation
	/// test function, and optionally specify any corresponding error text to display and any keystroke
	/// filtering mask to apply. For example:  
	/// // custom Vtype for vtype:&apos;time&apos;
	/// var timeTest = /^([1-9]|1[0-9]):([0-5][0-9])(\s[a|p]m)$/i;
	/// Ext.apply(Ext.form.VTypes, {
	/// // vtype validation function
	/// time: function(val, field) {
	/// return timeTest.test(val);
	/// },
	/// // vtype Text property: The error text to display when the validation function returns false
	/// timeText: &apos;Not a valid time. Must be in the format &quot;12:34 PM&quot;.&apos;,
	/// // vtype Mask property: The keystroke filter mask
	/// timeMask: /[\d\s:amp]/i
	/// });
	/// 
	/// Another example:
	/// 
	/// // custom Vtype for vtype:&apos;IPAddress&apos;
	/// Ext.apply(Ext.form.VTypes, {
	/// IPAddress: function(v) {
	/// return...
	/// </summary>
	/// <htmlSummary>
	/// &lt;p&gt;This is a singleton object which contains a set of commonly used field validation functions.
	/// The validations provided are basic and intended to be easily customizable and extended.&lt;/p&gt;
	/// &lt;p&gt;To add custom VTypes specify the &lt;code&gt;{@link Ext.form.TextField#vtype vtype}&lt;/code&gt; validation
	/// test function, and optionally specify any corresponding error text to display and any keystroke
	/// filtering mask to apply. For example:&lt;/p&gt;
	/// &lt;pre&gt;&lt;code&gt;
	/// // custom Vtype for vtype:&apos;time&apos;
	/// var timeTest = /^([1-9]|1[0-9]):([0-5][0-9])(\s[a|p]m)$/i;
	/// Ext.apply(Ext.form.VTypes, {
	/// // vtype validation function
	/// time: function(val, field) {
	/// return timeTest.test(val);
	/// },
	/// // vtype Text property: The error text to display when the validation function returns false
	/// timeText: &apos;Not a valid time. Must be in the format &quot;12:34 PM&quot;.&apos;,
	/// // vtype Mask property: The keystroke filter mask
	/// timeMask: /[\d\s:amp]/i
	/// });
	/// &lt;/code&gt;&lt;/pre&gt;
	/// Another example:
	/// &lt;pre&gt;&lt;code&gt;
	/// // custom Vtype for vtype:&apos;IPAddress&apos;
	/// Ext.apply(Ext.form.VTypes, {
	/// IPAddress: function(v) {
	/// return /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/.test(v);
	/// },
	/// IPAddressText: &apos;Must be a numeric IP address&apos;,
	/// IPAddressMask: /[\d\.]/i
	/// });
	/// &lt;/code&gt;&lt;/pre&gt;
	/// </htmlSummary>
	/// <definedin>src\widgets\form\VTypes.js</definedin>
	[ScriptName("VTypes")]
	[ScriptNamespace("Ext.form")]
	[Imported()]
	public partial class VTypes
	{
		
		#region Constructors
		/// <summary>Constructor</summary>
		internal VTypes()
		{
		}
		#endregion
	}
}
